package com.example.myapplication;

public abstract class ChessBaseItem {
    protected int width;
    protected int height;
//高与宽
    public ChessBaseItem(int width, int height) {
        this.width = width;
        this.height = height;
    }
//初始化
    public int getWidth() {
        return this.width;
    }
//声明类
    public int getHeight() {
        return this.height;
    }

    public abstract boolean setLayout();
}
